package com.msg.beans;

import org.codehaus.jettison.json.JSONException;
import org.codehaus.jettison.json.JSONObject;


public class TicketGroupBean {

	public String getTicketTypeCode() {
		return Ticket_Type_Code;
	}

	public void setTicketTypeCode(String ticket_Type_Code) {
		Ticket_Type_Code = ticket_Type_Code;
	}
	
	public String getPriceLevelCode() {
		return Price_Level_Code;
	}


	public void setPriceLevelCode(String price_Level_Code) {
		Price_Level_Code = price_Level_Code;
	}
	public String getTicketGroupName() {
		return Ticket_Group_Name;
	}


	public void setTicketGroupName(String ticket_Group_Name) {
		Ticket_Group_Name = ticket_Group_Name;
	}


	
	private String Ticket_Type_Code,Price_Level_Code,Ticket_Group_Name;

	

	
	public TicketGroupBean(){}


	public JSONObject toJSONObject() {
		JSONObject json = new JSONObject();
		try {
			json.put("Ticket_Type_Code", Ticket_Type_Code);
			json.put("Price_Level_Code", Price_Level_Code);
			json.put("Ticket_Group_Name", Ticket_Group_Name);

			
			
		} catch (JSONException e) {
			e.printStackTrace();
		}
		return json;
	}

	@Override
	public String toString() {
		return "TicketGroupBean [Ticket_Type_Code=" + Ticket_Type_Code
				+ ", Price_Level_Code=" + Price_Level_Code
				+ ", Ticket_Group_Name=" + Ticket_Group_Name + "]";
	}


	
}